cmake_minimum_required(VERSION 3.8)
set(moduleName ui_data_proxy)

find_package(rclcpp REQUIRED)
find_package(interface REQUIRED)
find_package(visualization_msgs REQUIRED)

include(../../common/cmake/add3rd.cmake)
add3rds(utils)

file (GLOB SRCS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.cpp transforms3d/*.cpp)
add_executable(${moduleName} ${SRCS})

ament_target_dependencies(${moduleName} rclcpp interface visualization_msgs)

target_link_libraries(${moduleName} utils)

install(TARGETS ${moduleName} DESTINATION lib/${PROJECT_NAME})
